package web.service;

import web.bean.XiaoQu;
import web.vo.PageVo;

import java.util.List;

public interface XiaoQuService {
    PageVo<XiaoQu> findByInfo(Integer pageSize, Integer pageNo, String startTime, String endTime, String name);
    int add(XiaoQu xiaoQu);

    /**
     * 根据数组删除数据
     * @param deleteId
     * @return
     */
    int del(Integer[] deleteId);

    int editInfo(XiaoQu xiaoQu);

    XiaoQu findXiaoQuById(Integer id);
    List<XiaoQu> findNameAll();
    XiaoQu findNameById(Integer id);

}
